<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="http://localhost:8080/public/cook/html/index.html">跳转·</a>
    <img src="http://localhost:8080/img.png" alt="">
</body>
</html>
<script src="../../commonPort/jsonP.js"></script>
<!-- <script src="http://localhost:8080/alert.js"></script> -->

<!-- <script src="../../commonPort/ajax.js"></script> -->
<script>
//  let srp = document.createElement("script")
//   srp.src = "http://localhost:8080/check?callback=fun&callback=fun"
//   document.documentElement.appendChild(srp)

  function fun(arr){
      console.log(arr);
  }
  srp({
      url:"http://localhost:8080/check",
      text:{
        callback:"fun"
      } 
  })
 
</script>